package com.site.wisdom_construction.statisticsResult;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Author daiyifei
 * @Date 2022/5/7
 * @Description
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "今日预警统计数据实体类" , description = "WarningRecordCount")
public class WarningRecordCount {
    @ApiModelProperty(value = "体温预警数" , name = "tW")
    private int tW;

    @ApiModelProperty(value = "心率预警数" , name = "xL")
    private int xL;

    @ApiModelProperty(value = "血压预警数" , name = "xY")
    private int xY;

    @ApiModelProperty(value = "血氧预警数" , name = "XY")
    private int XY;

    @ApiModelProperty(value = "预警总数" , name = "all")
    private int all;

    public WarningRecordCount() {
    }

    public WarningRecordCount(int tW, int xL, int xY, int XY, int all) {
        this.tW = tW;
        this.xL = xL;
        this.xY = xY;
        this.XY = XY;
        this.all = all;
    }

    public int gettW() {
        return tW;
    }

    public void settW(int tW) {
        this.tW = tW;
    }

    public int getxL() {
        return xL;
    }

    public void setxL(int xL) {
        this.xL = xL;
    }

    public int getxY() {
        return xY;
    }

    public void setxY(int xY) {
        this.xY = xY;
    }

    public int getXY() {
        return XY;
    }

    public void setXY(int XY) {
        this.XY = XY;
    }

    public int getAll() {
        return all;
    }

    public void setAll(int all) {
        this.all = all;
    }

    @Override
    public String toString() {
        return "{" +
                "tW=" + tW +
                ", xL=" + xL +
                ", xY=" + xY +
                ", XY=" + XY +
                ", all=" + all +
                '}';
    }
}
